<?php 

require_once 'config.php';

DB::atualizar(array("status"=>0),"id={$_SESSION["usuario"]["id"]}","usuarios");

session_start();
unset($_SESSION["usuario"]);
session_destroy();
$url=urlencode($_GET['url']);
setcookie("lembrar_senha");
header("Location: ".BASE."/login.php");
//header("Location: ".BASE."/login.php");


?>